import { prefix } from './_config'

import { request } from '@/utils/request'

// 业绩统计-个人
export function getPersonalAchieve(data) {
  return request({
    url: prefix + '/personal/page',
    method: 'post',
    data
  })
}

// 业绩统计-团队
export function getTeamAchieve(data) {
  return request({
    url: prefix + '/team/page',
    method: 'post',
    data
  })
}

// 业绩统计-门店
export function getShoplCients(data) {
  return request({
    url: prefix + '/shop/page',
    method: 'post',
    data
  })
}
